package com.yu.footballpromotionliveadmin.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 比赛记录表
 */
public class CompetitionRecord implements Serializable {
    private String crno;

    private Date crtime;

    private String htn;

    private String tno;

    private String lbano;

    private String rcno;

    private Date rcetime;

    private String rcplace;

    private String rcw;

    private static final long serialVersionUID = 1L;

    public String getCrno() {
        return crno;
    }

    public void setCrno(String crno) {
        this.crno = crno;
    }

    public Date getCrtime() {
        return crtime;
    }

    public void setCrtime(Date crtime) {
        this.crtime = crtime;
    }

    public String getHtn() {
        return htn;
    }

    public void setHtn(String htn) {
        this.htn = htn;
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public String getLbano() {
        return lbano;
    }

    public void setLbano(String lbano) {
        this.lbano = lbano;
    }

    public String getRcno() {
        return rcno;
    }

    public void setRcno(String rcno) {
        this.rcno = rcno;
    }

    public Date getRcetime() {
        return rcetime;
    }

    public void setRcetime(Date rcetime) {
        this.rcetime = rcetime;
    }

    public String getRcplace() {
        return rcplace;
    }

    public void setRcplace(String rcplace) {
        this.rcplace = rcplace;
    }

    public String getRcw() {
        return rcw;
    }

    public void setRcw(String rcw) {
        this.rcw = rcw;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CompetitionRecord other = (CompetitionRecord) that;
        return (this.getCrno() == null ? other.getCrno() == null : this.getCrno().equals(other.getCrno()))
            && (this.getCrtime() == null ? other.getCrtime() == null : this.getCrtime().equals(other.getCrtime()))
            && (this.getHtn() == null ? other.getHtn() == null : this.getHtn().equals(other.getHtn()))
            && (this.getTno() == null ? other.getTno() == null : this.getTno().equals(other.getTno()))
            && (this.getLbano() == null ? other.getLbano() == null : this.getLbano().equals(other.getLbano()))
            && (this.getRcno() == null ? other.getRcno() == null : this.getRcno().equals(other.getRcno()))
            && (this.getRcetime() == null ? other.getRcetime() == null : this.getRcetime().equals(other.getRcetime()))
            && (this.getRcplace() == null ? other.getRcplace() == null : this.getRcplace().equals(other.getRcplace()))
            && (this.getRcw() == null ? other.getRcw() == null : this.getRcw().equals(other.getRcw()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCrno() == null) ? 0 : getCrno().hashCode());
        result = prime * result + ((getCrtime() == null) ? 0 : getCrtime().hashCode());
        result = prime * result + ((getHtn() == null) ? 0 : getHtn().hashCode());
        result = prime * result + ((getTno() == null) ? 0 : getTno().hashCode());
        result = prime * result + ((getLbano() == null) ? 0 : getLbano().hashCode());
        result = prime * result + ((getRcno() == null) ? 0 : getRcno().hashCode());
        result = prime * result + ((getRcetime() == null) ? 0 : getRcetime().hashCode());
        result = prime * result + ((getRcplace() == null) ? 0 : getRcplace().hashCode());
        result = prime * result + ((getRcw() == null) ? 0 : getRcw().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", crno=").append(crno);
        sb.append(", crtime=").append(crtime);
        sb.append(", htn=").append(htn);
        sb.append(", tno=").append(tno);
        sb.append(", lbano=").append(lbano);
        sb.append(", rcno=").append(rcno);
        sb.append(", rcetime=").append(rcetime);
        sb.append(", rcplace=").append(rcplace);
        sb.append(", rcw=").append(rcw);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}